all:
	pdflatex tesis-header.tex 
	pdflatex tesis-header.tex 
	cp tesis-header.pdf Tesis.pdf
	open ./Tesis.pdf
clean:
	rm *.aux *.bbl *.blg *.log *.toc *.out *.lof *.tdo tesis-header.pdf
bib:
	pdflatex tesis-header.tex 
	bibtex tesis-header
	pdflatex tesis-header.tex 
	pdflatex tesis-header.tex 
	cp tesis-header.pdf Tesis.pdf
	open ./Tesis.pdf
windows:
#usando make de mingw
	pdflatex -interaction=nonstopmode -output-directory=tex tesis-header.tex 
	pdflatex -interaction=nonstopmode -output-directory=tex tesis-header.tex 
	copy tex\tesis-header.pdf Tesis.pdf
#explorer Tesis.pdf, esto ni idea de como se hace en windows	
linux:
	pdflatex tesis-header
	bibtex tesis-header
	pdflatex tesis-header
	pdflatex tesis-header
	cp tesis-header.pdf Tesis.pdf
	acroread Tesis.pdf
distclean:
	rm *.aux *.bbl *.blg *.log *.toc *.out *.lof *.tdo *.pdf
